package com.danco.training.zaneuskaya.view.action.orderlist;

import java.io.IOException;

import com.danco.training.zaneuskaya.api.OrderController;
import com.danco.training.zaneuskaya.controller.OrderControllerImpl;
import com.danco.training.zaneuskaya.dependency.DependencyConfiguration;
import com.danco.training.zaneuskaya.view.action.Action;

public class ReadOrderListFromFileAction implements Action{
	
	OrderController orderController = (OrderController) DependencyConfiguration.getInstanceByClassName(OrderController.class);

	@Override
	public void execute() {
		orderController.readOrderListFromFile();
	}

}
